package com.shop.service;

import com.shop.service.vo.CartVo;

import java.math.BigDecimal;
import java.util.List;

public interface CartService {
    CartVo changeCart(Integer productId, Integer userId, Integer count);

    BigDecimal calculateTotal(Integer id, Integer[] productIds);

    List<CartVo> searchCartByIds(Integer userId, Integer[] productIds);
}
